package droid.engine;

import android.view.*;
import android.content.*;
import android.graphics.*;

public class Panel extends View {
	
	public Panel(Context context) {
		super(context);
	}

	@Override
	public void onDraw(Canvas canvas) {
		
		Paint paint = new Paint();
		canvas.drawColor(Color.BLACK);
		
		paint.setColor(Color.WHITE);
		canvas.drawCircle(100, 100, 20, paint);
		
		paint.setColor(Color.RED);
		canvas.drawRect(200, 200, 300, 300, paint);
		
		paint.setColor(Color.GREEN);
		canvas.drawLine(10, 10, 10, 300, paint);
		
		paint.setColor(Color.YELLOW);
		canvas.drawText("Hello world", 10, 100, paint);
	}
}